//
//  MouoSinaMenuView.h
//  WJSinaHomeMenu
//
//  Created by tqh on 2019/5/16.
//  Copyright © 2019 tqh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol MouoSinaMenuViewDelegate <NSObject>

@optional

- (void)mouoSinaMenuViewDidCloseWithinUseTitles:(NSArray *)inUseTitles unUseTitles:(NSArray *)unUseTitles;
- (void)mouoSinaMenuViewDidDoneWithinUseTitles:(NSArray *)inUseTitles unUseTitles:(NSArray *)unUseTitles index:(NSInteger)index;
- (void)mouoSinaMenuViewDidIndex:(NSInteger)index;


@end
typedef void(^mouoSinaMenuViewDidBlock)(NSArray *inUseTitles,NSArray *unUseTitles,NSString *selectTitle,BOOL isChange);
/**陌友新浪微博菜单*/
@interface MouoSinaMenuView : UIView

@property (nonatomic,weak)id<MouoSinaMenuViewDelegate>delegate;

//添加数据
- (void)addMenuWithInUseTitle:(NSArray *)inUseTitle unUseTitle:(NSArray *)unUseTitle;

//显示
//- (void)showMenuWithTitle:(NSString *)title;
- (void)showMenuWithIndex:(NSInteger)index;
//隐藏菜单
- (void)closeMenu;

@end

NS_ASSUME_NONNULL_END
